from django.db import models


# Create your models here.
# class ArticleType(object):
#     def __init__(self, type_key, type_val):
#         self.__type_key = type_key
#         self.__type_val = type_val
#
#     @property
#     def type_key(self):
#         return self.__type_key
#
#     @type_key.setter
#     def type_key(self, value):
#         self.__type_key = value
#
#     @property
#     def type_val(self):
#         return self.__type_val
#
#     @type_key.setter
#     def type_val(self, value):
#         self.__type_val = value

#
# class ArticleList(object):
#     def __init__(self, article_id, list_type, list_img, list_title, list_date):
#         self.__article_id = article_id
#         self.__list_type = list_type
#         self.__list_img = list_img
#         self.__list_title = list_title
#         self.__list_date = list_date
#
#     @property
#     def article_id(self):
#         return self.__article_id
#
#     @article_id.setter
#     def article_id(self, value):
#         self.__article_id = value
#
#     @property
#     def list_type(self):
#         return self.__list_type
#
#     @list_type.setter
#     def list_type(self, value):
#         self.__list_type = value
#
#     @property
#     def list_img(self):
#         return self.__list_img
#
#     @list_img.setter
#     def list_img(self, value):
#         self.__list_img = value
#
#     @property
#     def list_title(self):
#         return self.__list_title
#
#     @list_title.setter
#     def list_title(self, value):
#         self.__list_title = value
#
#     @property
#     def list_date(self):
#         return self.__list_date
#
#     @list_date.setter
#     def list_date(self, value):
#         self.__list_date = value


# class ArticleDetail(object):
#     def __init__(self, article_id, detail_title, detail_date, detail_content):
#         self.__article_id = article_id
#         self.__detail_title = detail_title
#         self.__detail_date = detail_date
#         self.__detail_content = detail_content
#
#     @property
#     def article_id(self):
#         return self.__article_id
#
#     @article_id.setter
#     def article_id(self, value):
#         self.__article_id = value
#
#     @property
#     def detail_title(self):
#         return self.__detail_title
#
#     @detail_title.setter
#     def detail_title(self, value):
#         self.__detail_title = value
#
#     @property
#     def detail_date(self):
#         return self.__detail_date
#
#     @detail_date.setter
#     def detail_date(self, value):
#         self.__detail_date = value
#
#     @property
#     def detail_content(self):
#         return self.__detail_content
#
#     @detail_content.setter
#     def detail_content(self, value):
#         self.__detail_content = value

